﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="E.Web.Teacher.student.Edit" %>

<%@ Import Namespace="E.Model" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>学员信息</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/flora.datepick.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
  <script type="text/javascript" src="/js/Common.js"></script>
  <script type="text/javascript" src="/js/IDCard.js"></script>
  <script type="text/javascript" src="/js/student.js"></script>
  <script type="text/javascript" src="/js/ajax.js"></script>
  <script type="text/javascript" src="/js/jquery.datepick.min.js"></script>
  <script type="text/javascript" src="/js/jquery.datepick-zh-CN.js"></script>
  <style type="text/css">.left{ width:120px; line-height:20px; _line-height:23px; }</style>
  <script type="text/javascript">
      var esr = false;
      $(document).ready(
      function () {
          $("#EntryDateTxt").datepick({ dateFormat: 'yy-mm-dd', showOn: 'button', buttonImage: '/images/icon/calendar-green.gif', buttonImageOnly: true });
          $("#SeparationDateTxt").datepick({ dateFormat: 'yy-mm-dd', showOn: 'button', buttonImage: '/images/icon/calendar-green.gif', buttonImageOnly: true });
          $("#TrainingDateTxt").datepick({ dateFormat: 'yy-mm-dd', showOn: 'button', buttonImage: '/images/icon/calendar-green.gif', buttonImageOnly: true });
      }
    );
      function test(v, act) {
          if (isIdCardNo(v) == false) {
              document.getElementById("IDCardTxt").focus();
              document.getElementById("chkIDCardRst").innerHTML = "身份证号码错误";
          } else {
              CheckIDCard(v, act);
          }
      }
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="m_top"></div>
    <div class="block" style="height:100px;">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;新增学员</div>
      </div>
      <div class="spe_line_2"></div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>登录名：</div>
        <div class="fl"><asp:TextBox maxlength="50" ID="LoginIDTxt" runat="server" onblur="CheckLoginID(this.value);"></asp:TextBox></div>
        <div class="fl" style="line-height:20px; _line-height:23px;">
            &nbsp;<span class="hint" id="chkLoginIDRst"></span></div>
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>密码：</div>
        <div class="fl"><asp:TextBox value="111111" ID="PwdTxt" runat="server"></asp:TextBox></div>
        <div class="fl hint" style="line-height:20px; _line-height:23px;">
            &nbsp;*默认密码：111111</div>
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>学员姓名：</div>
        <div class="fl"><asp:TextBox ID="UserNameTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">性别：</div>
        <div style="float:left;">
          
          <asp:RadioButtonList ID="rdGender" runat="server" RepeatDirection="Horizontal">
              <asp:ListItem Value="1" Selected="True">男</asp:ListItem>
              <asp:ListItem Value="0">女</asp:ListItem>
          </asp:RadioButtonList>
        </div>
          
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>学员性质：</div>
        <div class="fl">
          <asp:DropDownList ID="dlIsPublicSlt" runat="server">
          </asp:DropDownList>
        </div>
          
      </div>
      
      <div class="box_1">
        <div class="fl tr left">Email：</div>
        <div class="fl"><asp:TextBox ID="EmailTxt" runat="server" onblur="ce(this.value);"></asp:TextBox><span class="hint" id="hint"></span></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">身份证：</div>
        <div class="fl"><asp:TextBox ID="IDCardTxt" runat="server"></asp:TextBox></div>
        <div class="fl" style="line-height:20px; _line-height:23px;">&nbsp;<span class="hint" id="chkIDCardRst"></span></div>
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>学历：</div>
        <div class="fl">
           <asp:DropDownList ID="dlEducationSlt" runat="server">
            </asp:DropDownList>
        </div>
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>报名机构：</div>
        <div class="fl"><asp:DropDownList ID="dlAreaSlt" runat="server"></asp:DropDownList>
        </div>
      </div>
      <div class="box_1">
        <div class="fl tr left"><span class="hint">*</span>认证类别或项目组：</div>
        <div class="fl">
            <asp:DropDownList ID="dlCertificateSlt" runat="server">
          </asp:DropDownList>
        </div>
      </div>
      <div class="box_1">
        <div class="fl tr left">技能组：</div>
        <div class="fl"></div>
          <asp:DropDownList ID="dlSkillGroup" runat="server">
          </asp:DropDownList>
      </div>
      <div class="box_1">
        <div class="fl tr left">岗位名称：</div>
        <div class="fl"><asp:TextBox ID="PositionTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">语言：</div>
        <div class="fl"><asp:TextBox ID="LanTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">入职日期：</div>
        <div class="fl">
        <asp:TextBox ID="EntryDateTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">离职日期：</div>
        <div class="fl"><asp:TextBox ID="SeparationDateTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">TrainingDate：</div>
        <div class="fl"><asp:TextBox ID="TrainingDateTxt" runat="server"></asp:TextBox></div>
      </div>
      <div class="box_1">
        <div class="fl tr left">获得的技能证书：</div>
        <div class="fl"><asp:TextBox ID="SkillCertificateTxt" runat="server"></asp:TextBox></div>
      </div>
      
      <input type="hidden" id="act" name="act" value="<%=act %>" />
      <input type="hidden" id="id" name="id" value="<%=id %>" />
      <input type="hidden" id="chkloginrst" name="chkloginrst" value="1" />
      <input type="hidden" id="chkidcardrst" name="chkidcardrst" value="1" />
      <div style="margin:20px 0 0 80px;"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/btn/confirm.gif" Height="22px" Width="52px" OnClientClick="return CheckForm();" onclick="ImageButton1_Click" />
          <% if (act == "u") { %>&nbsp;&nbsp;<a href="/student/List.aspx"><img alt="" src="/images/btn/back.gif" />
          </a></div>
        <% } %>
        </div>
    </form>
</body>
</html>
